Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unit tests #113

Merged
merged 2 commits into from
Sep 11, 2024
Merged

Add unit tests #113

merged 2 commits into from
Sep 11, 2024

Conversation

danielfernandes2022
Copy link
Collaborator

@danielfernandes2022 danielfernandes2022 commented Aug 9, 2024

Description

Implement unit tests using Jest to achieve a minimum test coverage of 80% across the project. This ensures robust test coverage for critical components and functionalities, validating code behavior and enhancing overall code quality.

Acceptance Criteria

  • Unit tests are implemented using Jest for critical components and functionalities.
  • Test coverage report shows a minimum of 80% coverage across the project.
  • Documentation includes details of implemented test cases and their expected outcomes.
  • Test reports are generated and shared to monitor test coverage and quality metrics.

Additional Context

  • Unit tests assure code quality by validating individual units of code in isolation.
  • Jest is a popular JavaScript testing framework known for its simplicity and rich features.
  • Test coverage metrics help in assessing the effectiveness of testing efforts and identifying gaps in code coverage.

Copy link

github-actions bot commented Aug 9, 2024

Test Results

116 tests   109 ✅  2m 10s ⏱️
 23 suites    7 💤
  3 files      0 ❌

Results for commit a3c6bc9.

♻️ This comment has been updated with latest results.

@almeiphi almeiphi merged commit 1ecb0e2 into main Sep 11, 2024
3 checks passed
@almeiphi almeiphi deleted the feature/29-increase-unit-test-coverage branch September 11, 2024 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants